package org.jweb.demo.service;

import org.jweb.core.bean.PageMode;
import org.jweb.core.service.CommonService;
import org.jweb.demo.entity.DemoGoodsEntity;
import org.jweb.demo.trans.form.DemoGoodsSaveForm;
import org.jweb.demo.trans.form.DemoGoodsSearchForm;
import org.jweb.demo.trans.vo.DemoGoodsVO;

public interface DemoGoodsServiceI extends CommonService{

	public PageMode<DemoGoodsVO> list(DemoGoodsSearchForm searchForm,int pageNo,int pageSize);
	
	public DemoGoodsVO get(String goodsId);
	
	public void add(DemoGoodsSaveForm saveForm);
	
	public void update(DemoGoodsSaveForm saveForm);
	
	public void add(DemoGoodsEntity entity);
	
	public void update(DemoGoodsEntity entity);
}
